﻿using Framework.Redis.Command.StringCommand;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Framework.Redis.Client
{
    public partial class RedisClient
    {
        public string Get(string key)
        {
            return new Get().Send(new Parameters.StringParameter.GetParameter() { Key = key });
        }

        public void Set(string key, string value)
        {
            new Set().SendNonReturn(new Parameters.StringParameter.SetParameter() { Key = key, Value = value });
        }
    }
}
